package com.example.designpartten.visit;

import lombok.extern.slf4j.Slf4j;

/**
 * @author hql
 * @date 2020/4/16 11:17
 */
@Slf4j
public class Manager extends Employee {
    @Override
    public void report() {
       log.info("管理员");
    }

    @Override
    public void visit(IVisit visit) {
        visit.visit(this);
    }
}
